elasticsearch-head 安装
1 | git clone git://github.com/mobz/elasticsearch-head.git |

安装集群
安装版本为 5.5.2,下载地址为 https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.5.2.tar.gz
master
修改config/elasticsearch.yml,添加如下内容
1 | http.cors.enabled: true |
启动
1 | ./bin/elasticsearch -d |
slave-1
1 | cluster.name: rexyan |
启动
1 | ./bin/elasticsearch -d |
slave-2
1 | cluster.name: rexyan |
启动
1 | ./bin/elasticsearch -d |
效果
